package com.qymerge.manage.system.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *<p>Title: SysUserSnapshotDTO</p>
 *<p>Description: 登录之后返回用户的id和token</p>
 *
 *@Author cong.zhang
 *@Version 1.0.0
 *@Date 2020/7/31/0031
 *@Time 21:17
 */
@Data
public class SysUserSnapshotDTO implements Serializable {

    private Long uid;            // 用户ID
    private String cn_name;      // 用户名
    private String token;        // 密码
    private Long roid_id;        // 角色ID
    private String roid_name;    // 角色名称
    private Integer status;      // 状态 1:上线 0:下线

    private String company_id;       // 店铺ID
    private String company_code;     // 店铺ID
    private String company_name;     // 店铺ID

    private List auditor_status;      // 状态 1:上线 0:下线

    public SysUserSnapshotDTO() {
    }

    public SysUserSnapshotDTO(Long uid, String token) {
        this.uid = uid;
        this.token = token;
    }

}
